﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaltechSoft.Service.EntityFW.Entity
{
    public class Customer : Entity
    {
        public string Name { get; set; }
        public string Address { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Country { get; set; }
        public string Note { get; set; }
        public string Tel { get; set; }
        public string Mobile { get; set; }
        public string ContactPersonName { get; set; }
        public string Email { get; set; }
        public string Fax { get; set; }
        public DateTime? NextDueDate { get; set; }
        public DateTime? SentMailDate { get; set; }
        public string SalesmanId { get; set; }

        public string LoginUsername { get; set; }

        public virtual ICollection<Equipment> Equipments { get; set; }
        public virtual User Salesman { get; set; }
    }
}



